package com.xzx.masterslave.masterslave;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * springboot启动
 * @author admin
 */

@SpringBootApplication
//解决aop无法拦截内调用方法的问题
@EnableAspectJAutoProxy(exposeProxy = true)
public class MasterslaveApplication {

    public static void main(String[] args) {
        SpringApplication.run(MasterslaveApplication.class, args);
    }

}
